<?php
   if( isset($_POST["url"]) ) {
      $url = $_POST["url"];
   }
   else {
      $url = $_GET["url"];
   }
   echo file_get_contents($url);
?>